﻿@model EditorialProyectos.Website.Models.ProjectViewModel

<h2>Borrar proyecto</h2>

<div class="separator-small action-bar">
    @Action.Back()

    @SelectedAction.Update()
</div>

<div class="row" data-bind="with: SelectedItem">
    @using (Html.BeginForm("Delete", "Project", FormMethod.Post, new { id = "ProjectDelete" }))
    {
        <div class="col-md-6">
            @Html.Partial("FieldsPartial", Model)
        </div>

        <button data-bind="click: $root.Delete" type="submit" class="btn btn-action btn-full-width">@Html.LocalizedAction("Delete")</button>
    }
</div>
